package com.distribute.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.distribute.entity.TSysRole;
import com.distribute.entity.TSysRoleExample;

public interface TSysRoleMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(TSysRoleExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(TSysRoleExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated
     */
    int insert(TSysRole record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(TSysRole record);

    /**
     *
     * @mbggenerated
     */
    List<TSysRole> selectByExample(TSysRoleExample example);

    /**
     *
     * @mbggenerated
     */
    TSysRole selectByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") TSysRole record, @Param("example") TSysRoleExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") TSysRole record, @Param("example") TSysRoleExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(TSysRole record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(TSysRole record);
}